i=1
j=1
while i<=9:
    while j<=i:
        print("%d*%d =%2d "%(j,i,j*i),end='')
        j+=1
    i+=1
    j=1
    print()